<?
   require_once('lib_mapvisualization.php');
   
   init();
   
   m_init();  
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Mapvisualization</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
p, body, td {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #000000;
}
</style>

<script language="JavaScript">
   // initialization stack
   var initFunctions = [];
   
   function callInit() {
      for (var j = 0; j < initFunctions.length; j++) {
         var f = initFunctions[j];
         f();
      }
   }
   function addInit(f) {
      initFunctions.push(f);
   }

	function showMain() {
		document.getElementById('divCarregando').style.visibility = 'hidden';
		document.getElementById('divMain').style.visibility = 'visible';
	}
	addInit(function() { showMain(); });
	
</script>

</head>
<body onLoad="javascript:window.setTimeout('callInit()', 0)" link="#0000ff" alink="#ff0000" vlink="#0000ff">

<div id="divCarregando" style="position:absolute; visibility: visible; left:0px; top:0px; width:100%; height:100%; z-index:1">
   Carregando..
</div>

<div id="divMain" style="visibility: hidden">
   <? m_run() ?>
</div>

</body>
</html>
